<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 200px;
            height: 200px;
            /* 隐藏 */
            display: none;
            position: absolute;
            top: 30px;
            left: -10%;
        }
        img{
            width: 200px;
            height: 200px;
        }
        a:hover .box{
            display: block;
        }
        a{
            position: relative;
            margin-right: 20px;
        }
    </style>
</head>
<body>
    <div>
        <a href="#">首页
            <div class="box">
                <img src="../作业/R-C.jpg" alt="">
            </div>
        </a>
        <a href="#">电脑
            <div class="box">
                <img src="../作业/下载.jpg" alt="">
            </div>
        </a>
        <a href="#">手机
            <div class="box">
                <img src="../作业/R-C.jpg" alt="">
            </div>
        </a>
        <a href="#">平板
            <div class="box">
                <img src="../作业/下载.jpg" alt="">
            </div>
        </a>
    </div>
</body>
</html>